package com.xinxin.intelligenceexam.contract;

import com.xinxin.intelligenceexam.base.BasePresenter;
import com.xinxin.intelligenceexam.base.BaseView;
import com.xinxin.intelligenceexam.domain.Student;

import rx.Subscriber;

/**
 * User: Tianxin
 * Date: 2016-10-26
 * Time: 13:02
 */

public interface LoginContract {
    
public interface View extends BaseView{
   void gotoMain();
    void gotoRegister();
}

public interface Presenter extends BasePresenter{
    void login(String userCode,String password);
}

public interface Model{
    void login(Subscriber<Student> subscriber, String userCode, String password);
    boolean saveUserInfo();
}


}